package com.patterns.strategy;

/**
 * 用来设置比较策略
 * @author fwj
 * @date 2021/4/21 14:11
 **/
@FunctionalInterface
public interface Comparator<T> {

    int compare(T o1, T o2);
}
